package com.ai.entity.security;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 角色-权限关联关系表
 * </p>
 *
 * @author chen
 * @since 2023-04-04 19:46:07
 */
@Getter
@Setter
@TableName("sys_role_permission_relation")
@ApiModel(value = "SysRolePermissionRelation对象", description = "角色-权限关联关系表")
public class SysRolePermissionRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("角色id")
    @TableField("role_id")
    private Integer roleId;

    @ApiModelProperty("权限id")
    @TableField("permission_id")
    private Integer permissionId;


}
